@openparachute/notes-ui 0.1.0-rc.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +100 -0
- package/LICENSE +661 -0
- package/README.md +27 -0
- package/dist/.parachute/info +8 -0
- package/dist/apple-touch-icon-180x180.png +0 -0
- package/dist/assets/Activity-B6k-9wWy.js +1 -0
- package/dist/assets/AddVault-DA_s9Ua2.js +1 -0
- package/dist/assets/Calendar-Dgd0dTEM.js +1 -0
- package/dist/assets/Capture-C_s94G98.js +9 -0
- package/dist/assets/NoteEditor-CxoH85Is.js +1 -0
- package/dist/assets/NoteNew-CTTJ_2cU.js +1 -0
- package/dist/assets/NoteRenderer-cz03kLyS.js +37 -0
- package/dist/assets/NoteView-B8BN-Dm4.js +3 -0
- package/dist/assets/OAuthCallback-CHpF2exs.js +1 -0
- package/dist/assets/PinArchiveButtons-DogtDLiB.js +1 -0
- package/dist/assets/Settings-DpNYPt6E.js +1 -0
- package/dist/assets/Tags-C2seZlc0.js +1 -0
- package/dist/assets/Today-Co3rl2Tl.js +1 -0
- package/dist/assets/VaultGraph-9bEHl7fl.js +3 -0
- package/dist/assets/Vaults-GFmUZ3tT.js +1 -0
- package/dist/assets/dates-BGZoWpL2.js +1 -0
- package/dist/assets/index-BDPMEkxL.js +62 -0
- package/dist/assets/index-D_L2igjK.css +1 -0
- package/dist/assets/react-force-graph-2d-CokIfB0T.js +46 -0
- package/dist/assets/useAttachmentUploader-CRSqlwYK.js +29 -0
- package/dist/assets/workbox-window.prod.es5-BBnX5xw4.js +2 -0
- package/dist/favicon.ico +0 -0
- package/dist/icon.svg +6 -0
- package/dist/index.html +28 -0
- package/dist/manifest.webmanifest +1 -0
- package/dist/maskable-icon-512x512.png +0 -0
- package/dist/pwa-192x192.png +0 -0
- package/dist/pwa-512x512.png +0 -0
- package/dist/pwa-64x64.png +0 -0
- package/dist/sw.js +1 -0
- package/dist/workbox-b9acee4e.js +1 -0
- package/package.json +71 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
# Changelog — @openparachute/notes-ui
|
|
2
|
+
|
|
3
|
+
## [0.1.0-rc.4] - 2026-05-22
|
|
4
|
+
|
|
5
|
+
- **Fix: resolve `link:` dep in published manifest** (`link:` →
|
|
6
|
+
`^0.1.0-rc.3`). The published tarball for `0.1.0-rc.3` carried
|
|
7
|
+
`"@openparachute/app-client": "link:@openparachute/app-client"` —
|
|
8
|
+
a local-dev-only protocol set up in notes#153 when app-client
|
|
9
|
+
wasn't yet on npm. Installing `@openparachute/notes-ui@0.1.0-rc.3`
|
|
10
|
+
failed at resolve:
|
|
11
|
+
|
|
12
|
+
```
|
|
13
|
+
error: Workspace dependency "@openparachute/app-client" not found
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
`@openparachute/app-client@0.1.0-rc.3` is now published, so we
|
|
17
|
+
switch to a concrete semver. Local dev still resolves the sibling
|
|
18
|
+
through Bun's workspace resolver (it matches by name regardless
|
|
19
|
+
of the version string), and the published tarball declares a
|
|
20
|
+
real, registry-resolvable dependency.
|
|
21
|
+
|
|
22
|
+
The repo's `RELEASING.md` grows a "Workspace dependencies" section
|
|
23
|
+
documenting the rule so this can't recur.
|
|
24
|
+
|
|
25
|
+
## [0.1.0-rc.3] - 2026-05-22
|
|
26
|
+
|
|
27
|
+
- **Refactor: `VaultClient` subclasses `@openparachute/app-client`'s
|
|
28
|
+
base class** (closes notes#153 reviewer follow-up). app-client
|
|
29
|
+
0.1.0-rc.3 lifted `request`, `requestWithRetry`, and
|
|
30
|
+
`requestCursorWithRetry` to `protected` ([parachute-app#10][app10]),
|
|
31
|
+
so Notes' VaultClient can finally subclass cleanly instead of cloning
|
|
32
|
+
the request loop. Net ~220 lines deleted from `client.ts` and ~690
|
|
33
|
+
from `client.test.ts` (base-class tests now covered by app-client's
|
|
34
|
+
own suite); the Notes-specific surface (`renameTag`, `mergeTags`,
|
|
35
|
+
`deleteTag`, `listTagsWithSchema`, `linkAttachment`,
|
|
36
|
+
`fetchAttachmentBlob`) stays on the subclass.
|
|
37
|
+
|
|
38
|
+
Notes' previous narrow-shape `updateTag` override was dropped — the
|
|
39
|
+
base class's wider `TagUpsertPayload`-shaped `updateTag` accepts the
|
|
40
|
+
same `{description, parent_names}` Notes was already passing, and
|
|
41
|
+
`schema-ensure.ts` (the only caller) ignores the return value.
|
|
42
|
+
|
|
43
|
+
Bundle delta: +3.8 kB raw / +0.9 kB gzip on the main chunk (the
|
|
44
|
+
subclass mirrors a handful of auth-callback fields on the instance
|
|
45
|
+
so `fetchAttachmentBlob` can drive its own retry loop without
|
|
46
|
+
reaching into the base's `private` state — see file header for
|
|
47
|
+
the rationale).
|
|
48
|
+
|
|
49
|
+
[app10]: https://github.com/ParachuteComputer/parachute-app/pull/10
|
|
50
|
+
|
|
51
|
+
## [0.1.0-rc.2] - 2026-05-22
|
|
52
|
+
|
|
53
|
+
- **Adopt `@openparachute/app-client`** (Phase 2 of the notes-migration-
|
|
54
|
+
to-app arc — [parachute-app#6][app6], design doc [Section 16][s16]).
|
|
55
|
+
The in-repo OAuth driver, VaultClient error classes, PKCE primitives,
|
|
56
|
+
discovery + DCR helpers, URL/vault-id helpers, and service-worker
|
|
57
|
+
reload code are now re-exports from `@openparachute/app-client`. Net
|
|
58
|
+
~750 lines deleted across `packages/notes-ui/src/lib/vault/` and
|
|
59
|
+
`packages/notes-ui/src/lib/pwa.ts`; behaviour unchanged.
|
|
60
|
+
|
|
61
|
+
Notes-specific orchestration stays here: `priorHaltedVaultId` round-
|
|
62
|
+
trip (notes#148), `redirectUriForOrigin` (mount-path aware),
|
|
63
|
+
issuer-keyed DCR cache, tag-curation endpoints (`renameTag`,
|
|
64
|
+
`mergeTags`, `deleteTag`, `updateTag`, `listTagsWithSchema`), and
|
|
65
|
+
the multi-vault store + refresh-on-401 pipeline. The VaultClient
|
|
66
|
+
request loop currently still lives here because app-client's
|
|
67
|
+
`request` is `private`; a follow-up will lift it to `protected` so
|
|
68
|
+
Notes can subclass and shrink further.
|
|
69
|
+
|
|
70
|
+
Local-dev wiring: notes-ui depends on `@openparachute/app-client` via
|
|
71
|
+
`bun link` until app-client is published to npm. Operators running
|
|
72
|
+
notes-ui from a local checkout should `bun link @openparachute/app-
|
|
73
|
+
client` from the parachute-app workspace first.
|
|
74
|
+
|
|
75
|
+
[app6]: https://github.com/ParachuteComputer/parachute-app/issues/6
|
|
76
|
+
|
|
77
|
+
## [0.1.0-rc.1] - 2026-05-21
|
|
78
|
+
|
|
79
|
+
- **Initial release.** Parachute Notes UI bundle, split out of the
|
|
80
|
+
parachute-notes monorepo as a parallel publish target alongside the
|
|
81
|
+
existing `@openparachute/notes` module package. This is Phase 1 of the
|
|
82
|
+
notes-migration-to-app arc captured in the [parachute apps design
|
|
83
|
+
doc Section 16][s16].
|
|
84
|
+
|
|
85
|
+
notes-ui ships only the Vite-built SPA — no daemon, no module surface,
|
|
86
|
+
no `bin`, no `.parachute/module.json`. Operators install it under
|
|
87
|
+
[parachute-app][app] via `parachute-app add @openparachute/notes-ui
|
|
88
|
+
--name notes --path /app/notes`.
|
|
89
|
+
|
|
90
|
+
Source remains shared with the legacy `@openparachute/notes` module
|
|
91
|
+
package (sibling under `packages/notes-daemon/`). The daemon package's
|
|
92
|
+
build step copies notes-ui's `dist/` into its own publish payload, so
|
|
93
|
+
both packages ship the exact same bundle.
|
|
94
|
+
|
|
95
|
+
Version chain restarts at `0.1.0-rc.1` — this is a new npm package
|
|
96
|
+
with no prior history. The legacy module continues at `0.3.17-rc.1`
|
|
97
|
+
on its own chain.
|
|
98
|
+
|
|
99
|
+
[s16]: https://github.com/ParachuteComputer/parachute.computer/blob/main/design/2026-05-21-parachute-apps-design.md#16-notes-migration-to-app
|
|
100
|
+
[app]: https://github.com/ParachuteComputer/parachute-app
|